package cloud.ben.smallscalepigfarmmanagementsystem.service.pig;

import cloud.ben.smallscalepigfarmmanagementsystem.entity.pig.PigTransferFattening;
import cloud.ben.smallscalepigfarmmanagementsystem.entity.pig.PigTransferNurseryRecords;
import cloud.ben.smallscalepigfarmmanagementsystem.utils.RespBean;

/**
 * @Author: Ben
 * @Date: 2022/4/6 11:35
 */
public interface IPigTransferNurseryRecordsService {


    /**
     * 增加转保育舍记录信息
     * @param pigTransferNurseryRecords
     * @return RespBean
     */
    RespBean insertPigTransferNurseryRecords(PigTransferNurseryRecords pigTransferNurseryRecords);

    /**
     *根据id删除转保育舍记录信息
     * @param id
     * @return RespBean
     */
    RespBean deletePigTransferNurseryRecords(Integer id);

    /**
     * 修改转保育舍记录信息
     * @param pigTransferNurseryRecords
     * @return RespBean
     */
    RespBean updatePigTransferNurseryRecords(PigTransferNurseryRecords pigTransferNurseryRecords);


    /**
     * 分页查询转保育舍记录信息
     * @param pageNumber
     * @param pageSize
     * @return RespBean
     */
    RespBean selectPigTransferNurseryRecordsByPage(Integer pageNumber,Integer pageSize);

    /**
     *查询转保育舍记录数量（方便分页）
     * @return RespBean
     */
    RespBean selectPigTransferNurseryRecordsNum();



}
